
function SetStatus(msg) {
    window.status=msg;
    return true;
}

function OpenSoftwareWindow( url ) {

  var w = 10;
  var h = 35;
  var l = 0;
  var top = 0;
    
    if ((screen.width>=1024) && (screen.height>=768))
    {
    
     w += 1024;
     h += 576;
     l = ( screen.width / 2 ) - 512;
     t = ( screen.height / 2) - 288;
    }
    else
    {
     w += 800;
     h += 450;
     l = ( screen.width / 2 ) - 400;
     t = ( screen.height / 2) - 225;     
    }
    var params = "toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=" + w + ",height=" + h + ",left = " + l + ",top = " + t;
    window.open(url, 'SOFTWARE_WINDOW', params);
}
